package com.yourname.www.listen;

import com.yourname.www.frame.dialog.QueryStudentInfoDialog;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * 查询学生信息按钮的监听事件
 */
public class QueryStudentInfoActionListener implements ActionListener {
    private JFrame jf;
    public QueryStudentInfoActionListener(JFrame jf){
        this.jf = jf;
    }
    @Override
    public void actionPerformed(ActionEvent e) {
        //弹出查询学生信息对话框
        new QueryStudentInfoDialog(jf);
    }
}
